package com.wiloon.androidx.entity;

import com.j256.ormlite.field.DatabaseField;

/**
 * Created by wangyue on 8/6/2014.
 */
public class Bar {

    public static final String ID = "bar_id";
    public static final String NAME = "bar_name";

    @DatabaseField(generatedId = true, useGetSet = true, columnName = ID)
    private long id;

    @DatabaseField(useGetSet = true, columnName = NAME)
    private String name;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
